//
//  LGKNoteManager.h
//  LGKNote
//
//  Created by 刘亚军 on 2023/5/26.
//

#import <Foundation/Foundation.h>
#import "LGKNoteParams.h"
NS_ASSUME_NONNULL_BEGIN

@interface LGKNoteManager : NSObject

@property (nonatomic,copy) NSString *userID; //用户ID【必要参数】
@property (nonatomic,copy) NSString *schoolID; //用户学校ID【必要参数】
@property (nonatomic,copy) NSString *token; //用户token【必要参数】
@property (nonatomic,copy) NSString *cpbaseServerUrl; //基础平台地址【必要参数，如果noteApi赋值了，该字段可不用赋值】
@property (nonatomic,strong) LGKNoteParams *noteParams; //笔记跳转参数【必要参数】

@property (nonatomic,copy) NSString *subjectID; //学科ID【非必要参数】
@property (nonatomic,copy) NSString *subjectName; //学科名【非必要参数】
@property (nonatomic,copy) NSString *noteApi; //笔记系统S22的接口地址【非必要参数】

@property (nonatomic, copy) void(^notePresentBlock)(NSDictionary *params,UIViewController *fromController); //笔记来源模态跳转
@property (nonatomic, copy) void(^notePushBlock)(NSDictionary *params,UIViewController *fromController); //笔记来源push跳转
- (NSBundle *)noteBundle;
+ (LGKNoteManager *)defaultManager;
- (void)presentNotePageFromController:(UIViewController *)fromController;
@end

NS_ASSUME_NONNULL_END
